home *** CD-ROM | disk | FTP | other *** search
- Path: unixg.ubc.ca!news
- From: csmecher@unixg.ubc.ca (Alec or Graeme Smecher)
- Newsgroups: comp.lang.c++
- Subject: Re: Removing 320x200 256 color PCX files out of memory
- Date: Sun, 04 Feb 1996 07:10:27 GMT
- Organization: The University of British Columbia
- Message-ID: <4f1m0t$g3e@nntp.ucs.ubc.ca>
- References: <00000DEA00001B9F@prostar.com>
- Reply-To: csmecher@unixg.ubc.ca
- NNTP-Posting-Host: port64.annex2.net.ubc.ca
- X-Newsreader: Forte Free Agent 1.0.82
-
- fender@prostar.com (Fender) wrote:
- >I suppose this is because the PCX files are taking up all of my memory
- >until I don't have any left. This is pretty much an outline of the rooms:
-
- This means that the pictures are stored in memory, probably in a
- "VOID" or "CHAR *" variable. You have to "free" the memory taken up by
- the variable. This should be the function called "free" :-P
- example: free (variable name);
-
- Good luck!
- Alec Smecher
- csmecher@unixg.ubc.ca
-
-